<%@ page contentType="text/html;charset=UTF-8" isErrorPage="true" %>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page import="org.slf4j.Logger,org.slf4j.LoggerFactory" %>
<%response.setStatus(200);%>

<%
	Throwable ex = null;
	if (exception != null)
		ex = exception;
	if (request.getAttribute("javax.servlet.error.exception") != null)
		ex = (Throwable) request.getAttribute("javax.servlet.error.exception");

	//记录日志
	Logger logger = LoggerFactory.getLogger("500.jsp");
	logger.error(ex.getMessage(), ex);
%>

<!DOCTYPE html>
<html>
<head>
	<title>500 - 系统内部错误</title>
	<c:set var="ctx" value="${pageContext.request.contextPath}" />
	<link href="${ctx}/static/styles/rum.css" rel="stylesheet" type="text/css" />
</head>

<body>
	<div class="error_message_w">
	<div class="error_message_img_w"><div class="error_message_img"><img src="${ctx }/static/images/icon_error.png" /></div></div>
	<div class="error_message_font">500 - 系统内部错误.<p><a href="<c:url value="/"/>">返回首页</a></p></div>
	</div>
</body>
</html>